﻿<UserControl x:Class="BYS.XiAnComDept.App.Pages.DataBackup"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="800">
    <Grid Style="{StaticResource ContentRoot}">
        <ScrollViewer>
            <StackPanel MinWidth="200">
                <TextBlock Text="数据备份" Style="{StaticResource Heading2}" />
                <StackPanel Orientation="Horizontal" MinHeight="500">
                    <ListView Name="ListViewBackupFiles" MinHeight="100" MinWidth="700">
                        <ListView.View>
                            <GridView>
                                <GridViewColumn DisplayMemberBinding="{Binding Path=.}" Header="备份文件" Width="700"/>
                            </GridView>
                        </ListView.View>
                    </ListView>
                    <StackPanel Orientation="Vertical">
                        <Button Name="buttonBackup" Content="备份" Margin="20,0,0,0" Click="buttonBackup_Click"></Button>
                        <Button Name="buttonRestore" Content="恢复" Margin="20, 20, 0, 0" Click="buttonRestore_Click"></Button>
                    </StackPanel>
                </StackPanel>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</UserControl>
